<?php getView('modules/header',array('header' => $header)); ?>

<?php getView('modules/admin-menu'); ?>

<div id="content-wrapper" class="container-fluid">
	<div class="row">
		<?php getView('modules/admin-sidebar', array('menu_active',$menu_active)); ?>
		<div id="admin-content">
			<div class="col-xs-12">
				<!-- Show Alert -->
				<?php 
					if(isset($alert))
						getView('modules/admin-alert', $alert);
				?> 
				<div class="below-alert"></div>
				<div class="row">
					<div class="col-xs-12 editor-view">
						<?php echo $editor; ?>
					</div>
				</div>
				<?php getView('modules/footer'); ?>
			</div>
		</div>
	</div>
</div>
</body>
</html>